package com.gao.controller;

import com.gao.dto.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author cuncun
 *  2025-05-14 下午3:09
 */
@RestController
@RequestMapping("/user")
public class UserController {

    @GetMapping("/login")
    public Result login(){
        return Result.ok().message("你好!");
    }

    @GetMapping("/reg")
    public Result reg(){
        return Result.ok().message("你好!");
    }

    @GetMapping("/logout")
    public Result logout(){
        return Result.ok().message("退出成功！");
    }

    @GetMapping("/enroll")
    public Result enroll(){
        return Result.ok().message("注册！");
    }

    @GetMapping("/111")
    public Result aaaa(){
        return Result.ok().message("aaaaaa！");
    }



    @GetMapping("/222")
    public Result nnnn(){
        return Result.ok().message("2222！");
    }



    @GetMapping("/aaaaaa")
    public Result asdasdasd(){
        return Result.ok().message("45343545！");
    }


    @GetMapping("/bbbbbbbb")
    public Result asd(){
        return Result.ok().message("45343545！");
    }



}
